Lines Matching refs:Km
98 .ok_or(Error::Km(ErrorCode::KEY_USER_NOT_AUTHENTICATED)) in get_auth_tokens()
356 Err(Error::Km(ErrorCode::KEY_USER_NOT_AUTHENTICATED)).context(concat!( in get_auth_tokens()
434 return Err(Error::Km(Ec::INCOMPATIBLE_PURPOSE)) in authorize_create()
443 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)).context( in authorize_create()
456 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)).context( in authorize_create()
466 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)) in authorize_create()
511 return Err(Error::Km(Ec::KEY_NOT_YET_VALID)) in authorize_create()
519 return Err(Error::Km(Ec::KEY_EXPIRED)) in authorize_create()
527 return Err(Error::Km(Ec::KEY_EXPIRED)) in authorize_create()
566 return Err(Error::Km(Ec::INCOMPATIBLE_PURPOSE)) in authorize_create()
572 return Err(Error::Km(Ec::INVALID_KEY_BLOB)).context( in authorize_create()
582 return Err(Error::Km(Ec::KEY_USER_NOT_AUTHENTICATED)).context( in authorize_create()
593 return Err(Error::Km(Ec::CALLER_NONCE_PROHIBITED)).context( in authorize_create()
603 return Err(Error::Km(Ec::DEVICE_LOCKED)) in authorize_create()
610 return Err(Error::Km(Ec::BOOT_LEVEL_EXCEEDED)) in authorize_create()
644 .ok_or(Error::Km(Ec::KEY_USER_NOT_AUTHENTICATED)) in authorize_create()
666 return Err(Error::Km(Ec::KEY_USER_NOT_AUTHENTICATED)) in authorize_create()