소스 검색

Fix RSAZ's OPENSSL_cleanse.

https://boringssl-review.googlesource.com/28584 switched RSAZ's buffer
to being externally-allocated, which means the OPENSSL_cleanse needs to
be tweaked to match.

Change-Id: I0a7307ac86aa10933d10d380ef652c355fed3ee9
Reviewed-on: https://boringssl-review.googlesource.com/c/34191
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
kris/onging/CECPQ3_patch15
David Benjamin 5 년 전
committed by CQ bot account: commit-bot@chromium.org
부모
커밋
5349ddb747
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      crypto/fipsmodule/bn/rsaz_exp.c

+ 1
- 1
crypto/fipsmodule/bn/rsaz_exp.c 파일 보기

@@ -233,7 +233,7 @@ void RSAZ_1024_mod_exp_avx2(BN_ULONG result_norm[16],

rsaz_1024_red2norm_avx2(result_norm, result);

OPENSSL_cleanse(storage, sizeof(storage));
OPENSSL_cleanse(storage, MOD_EXP_CTIME_STORAGE_LEN * sizeof(BN_ULONG));
}

#endif // OPENSSL_X86_64

불러오는 중...
취소
저장