Searched refs:Plen (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs12/ |
A D | pkcs12_kdf.c | 18 unsigned long Plen = ((pwlen + v - 1) / v) * v; in pkcs12_kdf() local 19 unsigned long k = (Plen + Slen) / v; in pkcs12_kdf() 32 I = XMALLOC(Plen + Slen); in pkcs12_kdf() 38 for (i = 0; i < Plen; i++) I[Slen + i] = pw[i % pwlen]; /* I = Salt || Pass */ in pkcs12_kdf() 42 … err = hash_memory_multi(hash_id, A, &Alen, D, v, I, Slen + Plen, LTC_NULL); /* A = HASH(D || I) */ in pkcs12_kdf() 72 zeromem(I, Plen + Slen); in pkcs12_kdf()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | nist_kw.c | 394 uint32_t Plen; in mbedtls_nist_kw_unwrap() local 438 Plen = MBEDTLS_GET_UINT32_BE( A, KW_SEMIBLOCK_LENGTH / 2 ); in mbedtls_nist_kw_unwrap() 445 padlen = in_len - KW_SEMIBLOCK_LENGTH - Plen; in mbedtls_nist_kw_unwrap() 470 memset( output + Plen, 0, padlen ); in mbedtls_nist_kw_unwrap() 471 *out_len = Plen; in mbedtls_nist_kw_unwrap()
|
Completed in 3 milliseconds