Searched refs:dlen (Results 1 – 5 of 5) sorted by relevance
/security/keys/ |
D | dh.c | 144 u8 *dst, unsigned int dlen, unsigned int zlen) in kdf_ctr() argument 152 while (dlen) { in kdf_ctr() 187 dlen -= h; in kdf_ctr() 195 memzero_explicit(dst_orig, dlen); in kdf_ctr() 232 ssize_t dlen; in __keyctl_dh_compute() local 284 dlen = dh_data_from_key(pcopy.prime, &dh_inputs.p); in __keyctl_dh_compute() 285 if (dlen < 0) { in __keyctl_dh_compute() 286 ret = dlen; in __keyctl_dh_compute() 289 dh_inputs.p_size = dlen; in __keyctl_dh_compute() 291 dlen = dh_data_from_key(pcopy.base, &dh_inputs.g); in __keyctl_dh_compute() [all …]
|
/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 80 unsigned int dlen; in TSS_rawhmac() local 99 dlen = va_arg(argp, unsigned int); in TSS_rawhmac() 100 if (dlen == 0) in TSS_rawhmac() 107 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_rawhmac() 128 unsigned int dlen; in TSS_authhmac() local 149 dlen = va_arg(argp, unsigned int); in TSS_authhmac() 150 if (dlen == 0) in TSS_authhmac() 157 ret = crypto_shash_update(&sdesc->shash, data, dlen); in TSS_authhmac() 193 unsigned int dlen; in TSS_checkhmac1() local 231 dlen = va_arg(argp, unsigned int); in TSS_checkhmac1() [all …]
|
/security/keys/encrypted-keys/ |
D | encrypted.c | 606 long dlen; in encrypted_key_alloc() local 609 ret = kstrtol(datalen, 10, &dlen); in encrypted_key_alloc() 610 if (ret < 0 || dlen < MIN_DATA_SIZE || dlen > MAX_DATA_SIZE) in encrypted_key_alloc() 614 decrypted_datalen = dlen; in encrypted_key_alloc() 618 if (dlen != ECRYPTFS_MAX_KEY_BYTES) { in encrypted_key_alloc()
|
/security/apparmor/ |
D | policy_unpack.c | 1064 size_t *dlen) in deflate_compress() argument 1126 *dlen = strm.total_out; in deflate_compress()
|
D | apparmorfs.c | 1298 static int deflate_decompress(char *src, size_t slen, char *dst, size_t dlen) in deflate_decompress() argument 1304 if (dlen < slen) in deflate_decompress() 1326 strm.avail_out = dlen; in deflate_decompress()
|