Lines Matching refs:hash_length

2355                                              size_t *hash_length)
2359 *hash_length = 0;
2365 operation, hash, hash_size, hash_length);
2374 size_t *hash_length)
2380 status = psa_hash_finish_internal(operation, hash, hash_size, hash_length);
2391 size_t hash_length)
2407 if (actual_hash_length != hash_length) {
2412 LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
2429 size_t *hash_length)
2435 *hash_length = 0;
2443 hash, hash_size, hash_length);
2455 const uint8_t *hash_external, size_t hash_length)
2477 if (actual_hash_length != hash_length) {
2482 LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
3062 size_t hash_length;
3068 hash, sizeof(hash), &hash_length);
3076 alg, hash, hash_length,
3121 size_t hash_length;
3127 hash, sizeof(hash), &hash_length);
3135 alg, hash, hash_length,
3170 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
3181 alg, hash, hash_length,
3195 alg, hash, hash_length,
3207 (void) hash_length;
3218 size_t hash_length,
3227 LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
3229 status = psa_sign_internal(key, 0, alg, hash, hash_length, signature,
3244 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
3255 alg, hash, hash_length,
3269 alg, hash, hash_length,
3281 (void) hash_length;
3291 size_t hash_length,
3299 LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
3301 status = psa_verify_internal(key, 0, alg, hash, hash_length, signature,
3481 const uint8_t *hash_external, size_t hash_length)
3514 LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
3522 hash, hash_length);
3639 const uint8_t *hash_external, size_t hash_length,
3670 LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
3679 alg, hash, hash_length,
3812 const uint8_t *hash, size_t hash_length)
3853 required_hash_length = (hash_length < operation->coordinate_bytes ?
3854 hash_length : operation->coordinate_bytes);
3862 operation->hash_length = required_hash_length;
3872 (void) hash_length;
3915 operation->hash_length,
3931 operation->hash_length,
4026 const uint8_t *hash, size_t hash_length,
4095 required_hash_length = (hash_length < coordinate_bytes ? hash_length :
4104 operation->hash_length = required_hash_length;
4113 (void) hash_length;
4142 operation->hash_length,
5580 uint8_t hash_length = PSA_HASH_LENGTH(hash_alg);
5601 uint8_t n = hash_length - hkdf->offset_in_block;
5628 hash_length);
5636 hash_length);
5672 uint8_t hash_length = PSA_HASH_LENGTH(hash_alg);
5688 tls12_prf->left_in_block = hash_length;
5734 status = psa_mac_update(&hmac, tls12_prf->Ai, hash_length);
5741 tls12_prf->Ai, hash_length,
5743 if (hmac_output_length != hash_length) {
5758 status = psa_mac_update(&hmac, tls12_prf->Ai, hash_length);
5771 tls12_prf->output_block, hash_length,
5794 uint8_t hash_length = PSA_HASH_LENGTH(hash_alg);
5826 offset = hash_length - tls12_prf->left_in_block;