Lines Matching refs:CCACIPHERTOKENSIZE
412 #define CCACIPHERTOKENSIZE (sizeof(struct cipherkeytoken) + 80) macro
424 u32 keysize = CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
427 if (off != 0 || count < CCACIPHERTOKENSIZE) in pkey_ccacipher_aes_attr_read()
430 if (count < 2 * CCACIPHERTOKENSIZE) in pkey_ccacipher_aes_attr_read()
442 keysize = CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
443 buf += CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
450 return 2 * CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
453 return CCACIPHERTOKENSIZE; in pkey_ccacipher_aes_attr_read()
506 static BIN_ATTR_RO(ccacipher_aes_128, CCACIPHERTOKENSIZE);
507 static BIN_ATTR_RO(ccacipher_aes_192, CCACIPHERTOKENSIZE);
508 static BIN_ATTR_RO(ccacipher_aes_256, CCACIPHERTOKENSIZE);
509 static BIN_ATTR_RO(ccacipher_aes_128_xts, 2 * CCACIPHERTOKENSIZE);
510 static BIN_ATTR_RO(ccacipher_aes_256_xts, 2 * CCACIPHERTOKENSIZE);