Lines Matching refs:CCACIPHERTOKENSIZE
413 #define CCACIPHERTOKENSIZE (sizeof(struct cipherkeytoken) + 80) macro
425 u32 keysize = CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
428 if (off != 0 || count < CCACIPHERTOKENSIZE) in pkey_ccacipher_aes_attr_read()
431 if (count < 2 * CCACIPHERTOKENSIZE) in pkey_ccacipher_aes_attr_read()
443 keysize = CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
444 buf += CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
451 return 2 * CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
454 return CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
507 static BIN_ATTR_RO(ccacipher_aes_128, CCACIPHERTOKENSIZE);
508 static BIN_ATTR_RO(ccacipher_aes_192, CCACIPHERTOKENSIZE);
509 static BIN_ATTR_RO(ccacipher_aes_256, CCACIPHERTOKENSIZE);
510 static BIN_ATTR_RO(ccacipher_aes_128_xts, 2 * CCACIPHERTOKENSIZE);
511 static BIN_ATTR_RO(ccacipher_aes_256_xts, 2 * CCACIPHERTOKENSIZE);