Lines Matching refs:retval
218 SecureElementStatus_t retval = GetKeyByID( keyID, &keyItem ); in ComputeCmac() local
219 if( retval != SECURE_ELEMENT_SUCCESS ) in ComputeCmac()
221 return retval; in ComputeCmac()
331 SecureElementStatus_t retval = SECURE_ELEMENT_ERROR; in SecureElementVerifyAesCmac() local
334 retval = ComputeCmac( NULL, buffer, size, keyID, &compCmac ); in SecureElementVerifyAesCmac()
335 if( retval != SECURE_ELEMENT_SUCCESS ) in SecureElementVerifyAesCmac()
337 return retval; in SecureElementVerifyAesCmac()
342 retval = SECURE_ELEMENT_FAIL_CMAC; in SecureElementVerifyAesCmac()
345 return retval; in SecureElementVerifyAesCmac()
363 SecureElementStatus_t retval = GetKeyByID( keyID, &pItem ); in SecureElementAesEncrypt() local
365 if( retval == SECURE_ELEMENT_SUCCESS ) in SecureElementAesEncrypt()
376 return retval; in SecureElementAesEncrypt()