Home
last modified time | relevance | path

Searched defs:mac (Results 1 – 25 of 25) sorted by relevance

/optee_os/core/drivers/crypto/se050/glue/
H A Duser.c13 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 Dcaam_hash_mac.c128 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 Dpsa_crypto_mac.c113 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 Dchachapoly.c433 unsigned char mac[16]; in mbedtls_chachapoly_self_test() local
H A Dpoly1305.c461 unsigned char mac[16]; in mbedtls_poly1305_self_test() local
H A Dpsa_crypto_driver_wrappers.h2202 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 Dssl_msg.c1042 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 Dpsa_crypto.c2899 uint8_t *mac, in psa_mac_compute_internal()
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher_mac.c584 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 Dpoly1305_file.c22 …const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned lo… in poly1305_file()
H A Dpoly1305_memory.c23 …nsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *mac, unsigned lo… in poly1305_memory()
H A Dpoly1305_memory_multi.c25 int poly1305_memory_multi(const unsigned char *key, unsigned long keylen, unsigned char *mac, unsig… in poly1305_memory_multi()
H A Dpoly1305.c165 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 Dblake2smac_file.c17 …const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned lo… in blake2smac_file()
H A Dblake2bmac_file.c17 …const char *fname, const unsigned char *key, unsigned long keylen, unsigned char *mac, unsigned lo… in blake2bmac_file()
H A Dblake2bmac_memory.c18 …nsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *mac, unsigned lo… in blake2bmac_memory()
H A Dblake2smac_memory.c18 …nsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *mac, unsigned lo… in blake2smac_memory()
H A Dblake2bmac_memory_multi.c20 int blake2bmac_memory_multi(const unsigned char *key, unsigned long keylen, unsigned char *mac, uns… in blake2bmac_memory_multi()
H A Dblake2smac_memory_multi.c20 int blake2smac_memory_multi(const unsigned char *key, unsigned long keylen, unsigned char *mac, uns… in blake2smac_memory_multi()
H A Dblake2smac.c45 int blake2smac_done(blake2smac_state *st, unsigned char *mac, unsigned long *maclen) in blake2smac_done()
H A Dblake2bmac.c45 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 Dse050_utils.h17 uint8_t mac[SE050_SCP03_KEY_SZ]; member
/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae_gcm.c31 uint32_t mac[4]; member
/optee_os/lib/libutee/
H A Dtee_api_operations.c1456 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 Dtee_rpmb_fs.c375 static TEE_Result tee_rpmb_mac_calc(uint8_t *mac, uint32_t macsize, in tee_rpmb_mac_calc()