Issues setting up GCMP or CCMP 256bit cipher

Hi All,

I am trying to setup BananaPi r4 as an AP. I am trying to use WPA2 PSK authentication. When I set the cipher mode to CCMP, the AP is created successfully and it works without any issue.
But, when I change it to CCMP 256bit or GCMP, the radio enters disabled state. I tried replicating this on a rpi 4b and it behaves in the same way. I have enabled openssl as well while compiling hostapd.
Could anyone please let me know what I am missing ? Let me know if you need any additional information
Thanks!!!