| /optee_os/core/drivers/crypto/se050/glue/ |
| H A D | user.c | 13 sss_status_t glue_mac_context_init(void **mac, const uint8_t *key, size_t len) in glue_mac_context_init() 24 void glue_mac_context_free(void *mac) in glue_mac_context_free() 29 sss_status_t glue_mac_update(void *mac, const uint8_t *msg, size_t len) in glue_mac_update() 37 sss_status_t glue_mac_final(void *mac, uint8_t *buf, size_t len) in glue_mac_final() 45 sss_status_t glue_mac_one_go(void *mac, const uint8_t *msg, size_t msg_len, in glue_mac_one_go()
|
| /optee_os/core/drivers/crypto/caam/hash/ |
| H A D | caam_hash_mac.c | 128 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_init() local 220 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_update() local 236 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_final() local 249 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_free() local 291 struct crypto_mac *mac = NULL; in caam_hmac_allocate() local
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_crypto_mac.c | 113 uint8_t *mac, in psa_hmac_finish_internal() 374 uint8_t *mac, size_t mac_size) in psa_mac_finish_internal() 405 uint8_t *mac, in mbedtls_psa_mac_sign_finish() 425 const uint8_t *mac, in mbedtls_psa_mac_verify_finish() 462 uint8_t *mac, in mbedtls_psa_mac_compute()
|
| H A D | chachapoly.c | 433 unsigned char mac[16]; in mbedtls_chachapoly_self_test() local
|
| H A D | poly1305.c | 461 unsigned char mac[16]; in mbedtls_poly1305_self_test() local
|
| H A D | psa_crypto_driver_wrappers.h | 2202 uint8_t *mac, in psa_driver_wrapper_mac_compute() 2442 uint8_t *mac, in psa_driver_wrapper_mac_sign_finish() 2477 const uint8_t *mac, in psa_driver_wrapper_mac_verify_finish()
|
| H A D | ssl_msg.c | 1042 unsigned char mac[MBEDTLS_SSL_MAC_ADD]; in mbedtls_ssl_encrypt_buf() local 1376 unsigned char mac[MBEDTLS_SSL_MAC_ADD]; in mbedtls_ssl_encrypt_buf() local
|
| H A D | psa_crypto.c | 2899 uint8_t *mac, in psa_mac_compute_internal()
|
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher_mac.c | 584 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_init() local 632 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_update() local 666 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_final() local 711 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_free() local 757 struct crypto_mac *mac = NULL; in caam_cmac_allocate() local
|
| /optee_os/core/lib/libtomcrypt/src/mac/poly1305/ |
| H A D | poly1305_file.c | 22 …const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned lo… in poly1305_file()
|
| H A D | poly1305_memory.c | 23 …nsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *mac, unsigned lo… in poly1305_memory()
|
| H A D | poly1305_memory_multi.c | 25 int poly1305_memory_multi(const unsigned char *key, unsigned long keylen, unsigned char *mac, unsig… in poly1305_memory_multi()
|
| H A D | poly1305.c | 165 int poly1305_done(poly1305_state *st, unsigned char *mac, unsigned long *maclen) in poly1305_done()
|
| /optee_os/core/lib/libtomcrypt/src/mac/blake2/ |
| H A D | blake2smac_file.c | 17 …const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned lo… in blake2smac_file()
|
| H A D | blake2bmac_file.c | 17 …const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned lo… in blake2bmac_file()
|
| H A D | blake2bmac_memory.c | 18 …nsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *mac, unsigned lo… in blake2bmac_memory()
|
| H A D | blake2smac_memory.c | 18 …nsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *mac, unsigned lo… in blake2smac_memory()
|
| H A D | blake2bmac_memory_multi.c | 20 int blake2bmac_memory_multi(const unsigned char *key, unsigned long keylen, unsigned char *mac, uns… in blake2bmac_memory_multi()
|
| H A D | blake2smac_memory_multi.c | 20 int blake2smac_memory_multi(const unsigned char *key, unsigned long keylen, unsigned char *mac, uns… in blake2smac_memory_multi()
|
| H A D | blake2smac.c | 45 int blake2smac_done(blake2smac_state *st, unsigned char *mac, unsigned long *maclen) in blake2smac_done()
|
| H A D | blake2bmac.c | 45 int blake2bmac_done(blake2bmac_state *st, unsigned char *mac, unsigned long *maclen) in blake2bmac_done()
|
| /optee_os/core/drivers/crypto/se050/adaptors/include/ |
| H A D | se050_utils.h | 17 uint8_t mac[SE050_SCP03_KEY_SZ]; member
|
| /optee_os/core/drivers/crypto/caam/ae/ |
| H A D | caam_ae_gcm.c | 31 uint32_t mac[4]; member
|
| /optee_os/lib/libutee/ |
| H A D | tee_api_operations.c | 1456 void *mac, size_t *macLen) in TEE_MACComputeFinal() 1502 void *mac, uint32_t *macLen) in __GP11_TEE_MACComputeFinal() 1516 const void *mac, size_t macLen) in TEE_MACCompareFinal() 1564 const void *mac, uint32_t macLen) in __GP11_TEE_MACCompareFinal()
|
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 375 static TEE_Result tee_rpmb_mac_calc(uint8_t *mac, uint32_t macsize, in tee_rpmb_mac_calc()
|