/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/ |
A D | crypto_api.h | 148 int crypto_md5_final(uint8_t *pDigest); 193 int crypto_sha1_final(uint8_t *pDigest); 238 int crypto_sha2_224_final(uint8_t *pDigest); 283 int crypto_sha2_256_final(uint8_t *pDigest); 333 int crypto_hmac_md5_final(uint8_t *pDigest); 383 int crypto_hmac_sha1_final(uint8_t *pDigest); 433 int crypto_hmac_sha2_224_final(uint8_t *pDigest); 483 int crypto_hmac_sha2_256_final(uint8_t *pDigest); 944 uint8_t *pDigest); 964 uint8_t *pDigest); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/crypto/ |
A D | rtl8721dhp_md5.c | 63 OUT u8* pDigest) in rtl_crypto_md5_process() argument 71 _memcpy(pDigest, md5_null_msg_result, 16); in rtl_crypto_md5_process() 119 int rtl_crypto_md5_final(OUT u8* pDigest) in rtl_crypto_md5_final() argument 127 if ( pDigest == NULL ) return _ERRNO_CRYPTO_NULL_POINTER; in rtl_crypto_md5_final() 143 int rtl_crypto_md5(IN const u8* message, IN const u32 msglen, OUT u8* pDigest) in rtl_crypto_md5() argument 150 ret = rtl_crypto_md5_process(message, msglen, pDigest); in rtl_crypto_md5() 192 OUT u8* pDigest) in rtl_crypto_hmac_md5_process() argument 246 int rtl_crypto_hmac_md5_final(OUT u8* pDigest) in rtl_crypto_hmac_md5_final() argument 257 if ( pDigest == NULL ) return _ERRNO_CRYPTO_NULL_POINTER; in rtl_crypto_hmac_md5_final() 278 OUT u8* pDigest) in rtl_crypto_hmac_md5() argument [all …]
|
A D | rtl8721dhp_sha.c | 61 OUT u8* pDigest) in rtl_crypto_sha1_process() argument 109 int rtl_crypto_sha1_final(OUT u8* pDigest) in rtl_crypto_sha1_final() argument 141 ret = rtl_crypto_sha1_process(message, msglen, pDigest); in rtl_crypto_sha1() 244 int rtl_crypto_sha2_final(OUT u8* pDigest) in rtl_crypto_sha2_final() argument 274 OUT u8* pDigest) in rtl_crypto_sha2() argument 349 OUT u8* pDigest) in rtl_crypto_hmac_sha1_process() argument 403 int rtl_crypto_hmac_sha1_final(OUT u8* pDigest) in rtl_crypto_hmac_sha1_final() argument 435 OUT u8* pDigest) in rtl_crypto_hmac_sha1() argument 532 OUT u8* pDigest) in rtl_crypto_hmac_sha2_process() argument 586 int rtl_crypto_hmac_sha2_final(OUT u8* pDigest) in rtl_crypto_hmac_sha2_final() argument [all …]
|
A D | rtl8721dhp_chacha_poly1305.c | 48 int rtl_crypto_poly1305_process(IN const u8 *message, IN const u32 msglen, OUT u8 *pDigest) in rtl_crypto_poly1305_process() argument 53 if ( pDigest == NULL ) return _ERRNO_CRYPTO_NULL_POINTER; in rtl_crypto_poly1305_process() 55 return CRYPTO_CipherDecryptAD(pIE, message, msglen, NULL, 0, NULL, 0, NULL, pDigest); in rtl_crypto_poly1305_process() 69 OUT u8* pDigest) in rtl_crypto_poly1305() argument 76 ret = rtl_crypto_poly1305_process(message, msglen, pDigest); in rtl_crypto_poly1305()
|
A D | rtl8721dhp_crypto_ram.c | 42 int CRYPTO_SendSeqBuf(u8 *pDigest) in CRYPTO_SendSeqBuf() argument 61 …u8*)(pIE->hmac_seq_buf), 64, pIV, ivlen, NULL, a2eo, (total_len == rest_bytes)?pDigest:NULL, NULL); in CRYPTO_SendSeqBuf() 75 …pIE, pIE->hmac_seq_last_message, bodylen, pIV, ivlen, NULL, a2eo, (restlen==0)?pDigest:NULL, NULL); in CRYPTO_SendSeqBuf() 87 if ( (pDigest != NULL) &&(pIE->hmac_seq_buf_is_used_bytes > 0) ) { // last one in CRYPTO_SendSeqBuf() 88 … (u8*)(pIE->hmac_seq_buf), pIE->hmac_seq_buf_is_used_bytes, pIV, ivlen, NULL, a2eo, pDigest, NULL); in CRYPTO_SendSeqBuf()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/ |
A D | rtl8721d_crypto_api.h | 101 _LONG_CALL_ int rtl_crypto_md5(IN const u8* message, IN const u32 msglen, OUT u8* pDigest); 103 _LONG_CALL_ int rtl_crypto_md5_process(IN const u8* message, const IN u32 msglen, OUT u8* pDigest); 105 _LONG_CALL_ int rtl_crypto_md5_final(OUT u8* pDigest); 107 _LONG_CALL_ int rtl_crypto_sha1(IN const u8* message, IN const u32 msglen, OUT u8* pDigest); 109 _LONG_CALL_ int rtl_crypto_sha1_process(IN const u8* message, IN const u32 msglen, OUT u8* pDigest); 111 _LONG_CALL_ int rtl_crypto_sha1_final(OUT u8* pDigest); 115 _LONG_CALL_ int rtl_crypto_sha2_process(IN const u8* message, IN const u32 msglen, OUT u8* pDigest); 117 _LONG_CALL_ int rtl_crypto_sha2_final(OUT u8* pDigest); 123 _LONG_CALL_ int rtl_crypto_hmac_md5_final(OUT u8* pDigest); 130 _LONG_CALL_ int rtl_crypto_hmac_sha1_final(OUT u8* pDigest); [all …]
|
A D | rtl8721d_crypto.h | 404 _LONG_CALL_ int CRYPTO_SendSeqBuf(u8 *pDigest);
|