Searched refs:InvalidNonce (Results 1 – 5 of 5) sorted by relevance
/system/keymint/common/src/crypto/ |
D | aes.rs | 98 return Err(km_err!(InvalidNonce, "nonce unexpectedly provided for AES-ECB")); in new() 112 km_err!(InvalidNonce, "want {} byte nonce for AES-CBC", BLOCK_SIZE) in new() 132 km_err!(InvalidNonce, "want {} byte nonce for AES-CTR", BLOCK_SIZE) in new() 145 .map_err(|_e| km_err!(InvalidNonce, "want 12 byte nonce for AES-GCM"))?; in new()
|
D | des.rs | 67 return Err(km_err!(InvalidNonce, "nonce unexpectedly provided")); in new() 81 .map_err(|_e| km_err!(InvalidNonce, "want {} byte nonce", BLOCK_SIZE))?; in new()
|
/system/keymint/common/src/ |
D | tag.rs | 1217 InvalidNonce, in check_begin_aes_params() 1251 InvalidNonce, in check_begin_3des_params()
|
D | crypto.rs | 434 _ => Err(km_err!(InvalidNonce, "want {} byte nonce", size)), in nonce()
|
/system/keymint/wire/src/ |
D | keymint.rs | 219 InvalidNonce = -52, enumerator
|