/external/boringssl/src/include/openssl/ |
hmac.h | 89 // that HMAC_CTX objects will be allocated on the stack thus no allocation 91 OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx); 93 // HMAC_CTX_new allocates and initialises a new |HMAC_CTX| and returns it, or 96 OPENSSL_EXPORT HMAC_CTX *HMAC_CTX_new(void); 99 OPENSSL_EXPORT void HMAC_CTX_cleanup(HMAC_CTX *ctx); 102 OPENSSL_EXPORT void HMAC_CTX_free(HMAC_CTX *ctx); 104 // HMAC_Init_ex sets up an initialised |HMAC_CTX| to use |md| as the hash 113 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, 118 OPENSSL_EXPORT int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, 126 OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out [all...] |
base.h | 309 typedef struct hmac_ctx_st HMAC_CTX;
|
/external/boringssl/src/crypto/fipsmodule/hmac/ |
hmac.c | 71 HMAC_CTX ctx; 83 void HMAC_CTX_init(HMAC_CTX *ctx) { 90 HMAC_CTX *HMAC_CTX_new(void) { 91 HMAC_CTX *ctx = OPENSSL_malloc(sizeof(HMAC_CTX)); 98 void HMAC_CTX_cleanup(HMAC_CTX *ctx) { 102 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); 105 void HMAC_CTX_free(HMAC_CTX *ctx) { 114 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, 177 int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, size_t data_len) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLMac.java | 35 private NativeRef.HMAC_CTX ctx; 88 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new()); 104 final NativeRef.HMAC_CTX ctxLocal = ctx; 142 final NativeRef.HMAC_CTX ctxLocal = ctx; 149 final NativeRef.HMAC_CTX ctxLocal = ctx;
|
NativeRef.java | 127 static final class HMAC_CTX extends NativeRef { 128 HMAC_CTX(long nativePointer) {
|
NativeCrypto.java | 342 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); 344 static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLength); 346 static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength); 348 static native byte[] HMAC_Final(NativeRef.HMAC_CTX ctx); [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Hmac/ |
CryptHmacMd5.c | 33 return (UINTN) (sizeof (HMAC_CTX));
101 CopyMem (NewHmacMd5Context, HmacMd5Context, sizeof (HMAC_CTX));
|
CryptHmacSha1.c | 33 return (UINTN) (sizeof (HMAC_CTX));
101 CopyMem (NewHmacSha1Context, HmacSha1Context, sizeof (HMAC_CTX));
|
CryptHmacSha256.c | 33 return (UINTN) (sizeof (HMAC_CTX));
101 CopyMem (NewHmacSha256Context, HmacSha256Context, sizeof (HMAC_CTX));
|
/hardware/interfaces/confirmationui/1.0/default/ |
PlatformSpecifics.cpp | 41 HMAC_CTX hmacCtx;
|
/system/keymaster/key_blob_utils/ |
integrity_assured_key_blob.cpp | 44 explicit HmacCleanup(HMAC_CTX* ctx) : ctx_(ctx) {} 48 HMAC_CTX* ctx_; 59 HMAC_CTX ctx;
|
/system/keymaster/km_openssl/ |
hmac_operation.h | 44 HMAC_CTX ctx_;
|
soft_keymaster_enforcement.cpp | 96 DEFINE_OPENSSL_OBJECT_POINTER(HMAC_CTX);
|
/external/boringssl/src/crypto/evp/ |
pbkdf.c | 72 HMAC_CTX hctx;
|
/external/boringssl/src/crypto/fipsmodule/tls/ |
kdf.c | 72 HMAC_CTX ctx, ctx_tmp, ctx_init;
|
/external/boringssl/src/crypto/hkdf/ |
hkdf.c | 68 HMAC_CTX hmac;
|
/external/tensorflow/tensorflow/core/platform/s3/ |
s3_crypto.cc | 37 HMAC_CTX ctx;
|
/external/ipsec-tools/src/racoon/ |
crypto_openssl.c | [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 39 static HMAC_CTX * HMAC_CTX_new(void) 41 HMAC_CTX *ctx; 50 static void HMAC_CTX_free(HMAC_CTX *ctx) 863 HMAC_CTX *ctx; 955 HMAC_CTX *ctx; [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 70 HMAC_CTX signingContext;
|
/hardware/interfaces/confirmationui/1.0/vts/functional/ |
VtsHalConfirmationUIV1_0TargetTest.cpp | 56 HMAC_CTX hmacCtx;
|
/external/boringssl/src/crypto/cipher_extra/ |
e_tls.c | 35 HMAC_CTX hmac_ctx; member in struct:__anon14291 50 HMAC_CTX_cleanup(&tls_ctx->hmac_ctx); 81 HMAC_CTX_init(&tls_ctx->hmac_ctx); 91 !HMAC_Init_ex(&tls_ctx->hmac_ctx, key, mac_key_len, md, NULL)) { 106 const size_t hmac_len = HMAC_size(&tls_ctx->hmac_ctx); 167 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || 168 !HMAC_Update(&tls_ctx->hmac_ctx, ad, ad_len) || 169 !HMAC_Update(&tls_ctx->hmac_ctx, ad_extra, sizeof(ad_extra)) || 170 !HMAC_Update(&tls_ctx->hmac_ctx, in, in_len) | [all...] |
/external/python/cpython2/Modules/ |
_hashopenssl.c | 593 HMAC_CTX hctx_tpl, hctx;
|
/external/python/cpython3/Modules/ |
_hashopenssl.c | 550 HMAC_CTX hctx_tpl, hctx;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 148 HMAC_CTX signingContext; [all...] |