Lines Matching refs:i
98 size_t i; in pkcs12_pbe_derive_key_iv() local
111 for( i = 0; i < pwdlen; i++ ) in pkcs12_pbe_derive_key_iv()
112 unipwd[i * 2 + 1] = pwd[i]; in pkcs12_pbe_derive_key_iv()
262 size_t hlen, use_len, v, i; in mbedtls_pkcs12_derivation() local
311 for( i = 1; i < (size_t) iterations; i++ ) in mbedtls_pkcs12_derivation()
329 for( i = v; i > 0; i-- ) in mbedtls_pkcs12_derivation()
330 if( ++hash_block[i - 1] != 0 ) in mbedtls_pkcs12_derivation()
335 for( i = v; i > 0; i-- ) in mbedtls_pkcs12_derivation()
337 j = salt_block[i - 1] + hash_block[i - 1] + c; in mbedtls_pkcs12_derivation()
339 salt_block[i - 1] = j & 0xFF; in mbedtls_pkcs12_derivation()
344 for( i = v; i > 0; i-- ) in mbedtls_pkcs12_derivation()
346 j = pwd_block[i - 1] + hash_block[i - 1] + c; in mbedtls_pkcs12_derivation()
348 pwd_block[i - 1] = j & 0xFF; in mbedtls_pkcs12_derivation()