update master-with-bazel from master branch
This commit is contained in:
@@ -224,9 +224,9 @@ int HMAC_Final(HMAC_CTX *ctx, uint8_t *out, unsigned int *out_len) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
size_t HMAC_size(const HMAC_CTX *ctx) {
|
||||
return EVP_MD_size(ctx->md);
|
||||
}
|
||||
size_t HMAC_size(const HMAC_CTX *ctx) { return EVP_MD_size(ctx->md); }
|
||||
|
||||
const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx) { return ctx->md; }
|
||||
|
||||
int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *src) {
|
||||
if (!EVP_MD_CTX_copy_ex(&dest->i_ctx, &src->i_ctx) ||
|
||||
|
||||
@@ -137,6 +137,9 @@ OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out,
|
||||
// |ctx|. On entry, |ctx| must have been setup with |HMAC_Init_ex|.
|
||||
OPENSSL_EXPORT size_t HMAC_size(const HMAC_CTX *ctx);
|
||||
|
||||
// HMAC_CTX_get_md returns |ctx|'s hash function.
|
||||
OPENSSL_EXPORT const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
|
||||
|
||||
// HMAC_CTX_copy_ex sets |dest| equal to |src|. On entry, |dest| must have been
|
||||
// initialised by calling |HMAC_CTX_init|. It returns one on success and zero
|
||||
// on error.
|
||||
|
||||
Reference in New Issue
Block a user