/external/boringssl/src/include/openssl/ |
hmac.h | 89 * that HMAC_CTX objects will be allocated on the stack thus no allocation 90 * function is provided. If needed, allocate |sizeof(HMAC_CTX)| and call 92 OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx); 95 OPENSSL_EXPORT void HMAC_CTX_cleanup(HMAC_CTX *ctx); 97 /* HMAC_Init_ex sets up an initialised |HMAC_CTX| to use |md| as the hash 106 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, 111 OPENSSL_EXPORT int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, 119 OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out, 127 OPENSSL_EXPORT size_t HMAC_size(const HMAC_CTX *ctx); 132 OPENSSL_EXPORT int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *src) [all...] |
base.h | 287 typedef struct hmac_ctx_st HMAC_CTX;
|
ssl.h | [all...] |
/external/boringssl/src/crypto/hmac/ |
hmac.c | 71 HMAC_CTX ctx; 92 void HMAC_CTX_init(HMAC_CTX *ctx) { 99 void HMAC_CTX_cleanup(HMAC_CTX *ctx) { 103 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); 106 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, 169 int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, size_t data_len) { 173 int HMAC_Final(HMAC_CTX *ctx, uint8_t *out, unsigned int *out_len) { 190 size_t HMAC_size(const HMAC_CTX *ctx) { 194 int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *src) [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 | 141 public static class HMAC_CTX extends NativeRef { 142 public HMAC_CTX(long ctx) {
|
NativeCrypto.java | 315 public static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); 317 public static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLength); 319 public static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength); 321 public 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));
|
/system/keymaster/ |
integrity_assured_key_blob.cpp | 45 explicit HmacCleanup(HMAC_CTX* ctx) : ctx_(ctx) {} 49 HMAC_CTX* ctx_; 60 HMAC_CTX ctx;
|
hmac_operation.h | 45 HMAC_CTX ctx_;
|
/external/boringssl/src/crypto/evp/ |
pbkdf.c | 72 HMAC_CTX hctx_tpl, hctx;
|
/external/boringssl/src/crypto/hkdf/ |
hkdf.c | 68 HMAC_CTX hmac;
|
/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) 848 HMAC_CTX *ctx; 940 HMAC_CTX *ctx; [all...] |
/external/boringssl/src/ssl/ |
t1_enc.c | 162 HMAC_CTX ctx, ctx_tmp, ctx_init;
|
ssl_session.c | 591 HMAC_CTX hctx; [all...] |
ssl_lib.c | [all...] |
t1_lib.c | 3094 HMAC_CTX hmac_ctx; local [all...] |
ssl_test.cc | [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 70 HMAC_CTX signingContext;
|
/external/boringssl/src/crypto/cipher/ |
e_tls.c | 34 HMAC_CTX hmac_ctx; member in struct:__anon13301 49 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)) { 147 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || 148 !HMAC_Update(&tls_ctx->hmac_ctx, ad, ad_len) || 149 !HMAC_Update(&tls_ctx->hmac_ctx, ad_extra, sizeof(ad_extra)) || 150 !HMAC_Update(&tls_ctx->hmac_ctx, in, in_len) || 151 !HMAC_Final(&tls_ctx->hmac_ctx, mac, &mac_len)) [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 148 HMAC_CTX signingContext; [all...] |
/external/conscrypt/common/src/jni/main/cpp/ |
NativeCrypto.cpp | [all...] |
/external/boringssl/src/ssl/test/ |
bssl_shim.cc | 881 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, 902 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || [all...] |