Searched refs:md5_ctx (Results 1 – 1 of 1) sorted by relevance
/openthread-3.7.0/third_party/mbedtls/repo/library/ |
D | pem.c | 79 mbedtls_md_context_t md5_ctx; in pem_pbkdf1() local 85 mbedtls_md_init(&md5_ctx); in pem_pbkdf1() 89 if ((ret = mbedtls_md_setup(&md5_ctx, md5_info, 0)) != 0) { in pem_pbkdf1() 96 if ((ret = mbedtls_md_starts(&md5_ctx)) != 0) { in pem_pbkdf1() 99 if ((ret = mbedtls_md_update(&md5_ctx, pwd, pwdlen)) != 0) { in pem_pbkdf1() 102 if ((ret = mbedtls_md_update(&md5_ctx, iv, 8)) != 0) { in pem_pbkdf1() 105 if ((ret = mbedtls_md_finish(&md5_ctx, md5sum)) != 0) { in pem_pbkdf1() 119 if ((ret = mbedtls_md_starts(&md5_ctx)) != 0) { in pem_pbkdf1() 122 if ((ret = mbedtls_md_update(&md5_ctx, md5sum, 16)) != 0) { in pem_pbkdf1() 125 if ((ret = mbedtls_md_update(&md5_ctx, pwd, pwdlen)) != 0) { in pem_pbkdf1() [all …]
|