示例#1
0
result_t Cipher::get_name(exlib::string &retVal)
{
    retVal = mbedtls_cipher_get_name(&m_ctx);
    return 0;
}
示例#2
0
	int CipherContext::getName(State & state, mbedtls_cipher_context_t * context){
		Stack * stack = state.stack;
		stack->push<const std::string &>(mbedtls_cipher_get_name(context));
		return 1;
	}