Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang
2199-crypto-Bug-fix-crypto-next_iv-regarding-ae...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2199-crypto-Bug-fix-crypto-next_iv-regarding-aes_ige256.patch of Package erlang
From 5107b29a1bca592c0ea3840d263d0dd1f48e2ed3 Mon Sep 17 00:00:00 2001 From: Hans Nilsson <hans@erlang.org> Date: Wed, 22 Aug 2018 18:59:14 +0200 Subject: [PATCH 2/2] crypto: Bug fix - crypto:next_iv regarding aes_ige256 --- lib/crypto/src/crypto.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index 3c3e9a7f34..17351d10ea 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -300,7 +300,8 @@ next_iv(Type, Data) when is_binary(Data) -> des3_cbc -> 8; blowfish_cbc -> 8; aes_cbc -> 16; - aes_ige -> 32 + aes_ige -> 32; % For compatibility if someone has bug-adapted code + aes_ige256 -> 32 % The name used in block_encrypt et al end, {_, IVec} = split_binary(Data, size(Data) - IVecSize), IVec; -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor