Lines Matching defs:bytes
717 slot->key.bytes = buffer_length;
1181 mbedtls_zeroize_and_free(slot->key.data, slot->key.bytes);
1185 slot->key.bytes = 0;
1511 slot->key.data, slot->key.bytes,
1628 &slot->attr, slot->key.data, slot->key.bytes,
1916 slot->key.bytes);
2060 /* Ensure that the bytes-to-bits conversion cannot overflow. */
2095 slot->key.bytes,
2096 &slot->key.bytes, &bits);
2247 source_slot->key.bytes,
2249 target_slot->key.bytes,
2250 &target_slot->key.bytes);
2257 source_slot->key.bytes);
2622 slot->key.bytes,
2628 slot->key.bytes,
2819 slot->key.data, slot->key.bytes,
2982 &slot->attr, slot->key.data, slot->key.bytes,
2988 &slot->attr, slot->key.data, slot->key.bytes,
3032 &slot->attr, slot->key.data, slot->key.bytes,
3037 &slot->attr, slot->key.data, slot->key.bytes,
3357 &slot->attr, slot->key.data, slot->key.bytes,
3413 &slot->attr, slot->key.data, slot->key.bytes,
3521 slot->key.bytes, alg,
3678 slot->key.bytes,
4291 slot->key.bytes,
4297 slot->key.bytes,
4574 &slot->attr, slot->key.data, slot->key.bytes,
4640 &slot->attr, slot->key.data, slot->key.bytes,
4768 &slot->attr, slot->key.data, slot->key.bytes,
4835 &slot->attr, slot->key.data, slot->key.bytes,
4943 slot->key.bytes,
4949 slot->key.bytes,
5052 * integer >= 2 where pLen < 2^(8L). The nonce length is then 15 - L bytes.
5573 /* Read some bytes from an HKDF-based operation. */
6020 /* Edge case: this is a finished operation, and 0 bytes
6120 * 1. Draw a byte string of length ceiling(m/8) bytes.
6192 /* 1. Draw a byte string of length ceiling(m/8) bytes. */
6328 size_t bytes = PSA_BITS_TO_BYTES(bits);
6329 size_t storage_size = bytes;
6360 data = mbedtls_calloc(1, bytes);
6365 status = psa_key_derivation_output_bytes(operation, data, bytes);
6371 psa_des_set_key_parity(data, bytes);
6393 data, bytes,
6395 slot->key.bytes,
6396 &slot->key.bytes, &bits);
6609 /* Master Secret is always 48 bytes
6635 * initialisers for this union leave some bytes unspecified.) */
7073 /* Only K.X has to be extracted - bytes 1 to 32 inclusive. */
7441 slot->key.bytes);
7520 private_key->key.bytes, alg,
7987 slot->key.data, slot->key.bytes,
7988 &slot->key.bytes);
8469 operation->data.inputs.password = mbedtls_calloc(1, slot->key.bytes);
8475 memcpy(operation->data.inputs.password, slot->key.data, slot->key.bytes);
8476 operation->data.inputs.password_len = slot->key.bytes;