/external/boringssl/src/crypto/digest/ |
internal.h | 90 /* ctx_size contains the size, in bytes, of the state of the hash function. */ 91 unsigned ctx_size; member in struct:env_md_st
|
digest.c | 91 if (ctx->digest && ctx->digest->ctx_size && ctx->md_data) { 92 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); 134 if (in->md_data && in->digest->ctx_size) { 138 out->md_data = OPENSSL_malloc(in->digest->ctx_size); 144 memcpy(out->md_data, in->md_data, in->digest->ctx_size); 167 if (ctx->digest && ctx->digest->ctx_size > 0) { 171 if (type->ctx_size > 0) { 172 ctx->md_data = OPENSSL_malloc(type->ctx_size); 202 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size);
|
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
crc.h | 58 * @param ctx_size size of ctx in bytes 61 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
|
/external/tpm2/ |
OsslCryptoEngine.h | 33 // libtpm2 reads internal EVP_MD state (e.g. ctx_size). The boringssl headers 58 /* ctx_size contains the size, in bytes, of the state of the hash function. */ 59 unsigned ctx_size; member in struct:env_md_st
|
CpriHash.c | 90 pAssert(ctxt->digest->ctx_size <= OSSL_HASH_STATE_DATA_SIZE); 92 memcpy(buf, (void*) ctxt->md_data, ctxt->digest->ctx_size); 93 return (UINT16)ctxt->digest->ctx_size; 119 pAssert(ctxt->digest->ctx_size < sizeof(ALIGNED_HASH_STATE)); 120 memcpy(ctxt->md_data, buf, ctxt->digest->ctx_size); 122 return (UINT16)ctxt->digest->ctx_size; [all...] |
/external/boringssl/src/crypto/cipher/ |
cipher.c | 107 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); 131 if (in->cipher_data && in->cipher->ctx_size) { 132 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); 137 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); 170 if (ctx->cipher->ctx_size) { 171 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size);
|
/external/boringssl/src/include/openssl/ |
cipher.h | 516 /* ctx_size contains the size, in bytes, of the per-key context for this 518 unsigned ctx_size; member in struct:evp_cipher_st
|